package com.ruibang.glass.produce.component.job;

import com.ruibang.glass.produce.service.Cold1StatisticalReportService;
import com.teaming.cloud.framework2.elastic.job3.annotation.ElasticJobScheduler;
import lombok.extern.slf4j.Slf4j;
import org.apache.shardingsphere.elasticjob.api.ShardingContext;
import org.apache.shardingsphere.elasticjob.simple.job.SimpleJob;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-05-28  09:19
 * @Description: TODO:冷端1生产统计报表任务
 * @Version: 1.0
 */

@Slf4j
//@ElasticJobScheduler(cron = "6 11 0/1 * * ?")
@ElasticJobScheduler(cron = "0 * * * * ?")
@Component
public class Cold1StatisticalReportTask implements SimpleJob {


    @Autowired
    private Cold1StatisticalReportService cold1StatisticalReportService;

    @Override
    public void execute(ShardingContext shardingContext) {

    }
}
